#include <iostream>
#include "HomeTheaterFacade.h"
using namespace std;

int main()
{
    Amplifier *amp = new Amplifier("Amplifier");
    Tuner *tuner = new Tuner("AM/FM Tuner", amp);
    StreamingPlayer *player = new StreamingPlayer("Streaming Player", amp);
    CdPlayer *cd = new CdPlayer("CD Player", amp);
    Projector *projector = new Projector("Projector", player);
    TheaterLights *lights = new TheaterLights("Theater Ceiling Lights");
    Screen *screen = new Screen("Theater Screen");
    PopcornPopper *popper = new PopcornPopper("Popcorn Popper");

    HomeTheaterFacade *homeTheater =
            new HomeTheaterFacade(amp, tuner, player,
                                  projector, lights,screen,  popper);

    homeTheater->watchMovie("Raiders of the Lost Ark");
    homeTheater->endMovie();
    return 0;
}
